package com.team2.outpatient_sys.pojo;

/**
 * 管理员 实体类
 */
public class Administrator {
    // 管理员id
    private Integer id;
    // 管理员姓名
    private String name;
    // 用户名
    private String username;
    // 登录密码
    private String password;
    // 性别
    private String gender;
    // 生日
    private String birth;
    // 联系电话
    private String phone;
    // 入职时间
    private String hiredate;

    public Administrator() {
    }

    public Administrator(Integer id, String name, String username, String password, String gender, String birth, String phone, String hiredate) {
        this.id = id;
        this.name = name;
        this.username = username;
        this.password = password;
        this.gender = gender;
        this.birth = birth;
        this.phone = phone;
        this.hiredate = hiredate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getBirth() {
        return birth;
    }

    public void setBirth(String birth) {
        this.birth = birth;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getHiredate() {
        return hiredate;
    }

    public void setHiredate(String hiredate) {
        this.hiredate = hiredate;
    }

    @Override
    public String toString() {
        return "Administrator{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", gender='" + gender + '\'' +
                ", birth='" + birth + '\'' +
                ", phone='" + phone + '\'' +
                ", hiredate='" + hiredate + '\'' +
                '}';
    }
}
